<%@page import="model.bean.FilmeJB"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="util.DataHelper"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BoxMovie</title>
<style type="text/css"> 
.body {  
overflow:hidden;  
padding: 0px;
margin: 0px;
}
</style>

<%@include file="js_css.jsp" %>



</head>
<body style="background-color:#528B8B;color:white; overflow-x: hidden;overflow-y: hidden">
			<%
			FilmeJB filme = new FilmeJB();
			filme = (FilmeJB) request.getSession().getAttribute("filme");			
			%>


<table>
	<tbody>
		<tr>
			<td><img src="capas/<%=filme.getCapa()%>" /></td>
			<td valign="top">
			<table>
				<tbody>
					<tr valign="top">
						<td>
							<font size="5px" face="Trebuchet MS"><%= filme.getTitulo() %></font>
							<font size="3px" face="Trebuchet MS"> (<%= DataHelper.dateDBToString(filme.getDtLancFilme()) %>) </font>
							
						</td>
						<td style="text-align: right;">
	
						 <input id="reservar" type="button" value="Quero Reservar" />  
 <div id="div_reservar"  style="display: none;">
 		<label>N. Cartao de Credito:<br />
			<input type="text" name="ccredito" id="ccredito" value="" style="border: 1px solid blue;">
		</label>
		<input type="hidden" id="id_filme" name="id_filme" value="<%= filme.getId() %>" />
		<input id="bt_reserva" type="button" value="[Reservar]" />		
 	
</div>
						</td>
					</tr>
					<tr valign="top">
						<td><div style="height: 100px;overflow: auto;"><small><%= filme.getSinopse() %></small></div></td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
	</tbody>
</table>





<embed type="application/x-shockwave-flash" src="trailers/flvplayer.swf" 
width="760" height="365" pluginspage="http://www.macromedia.com/go/getflashplayer" 
wmode="transparent" bgcolor="#FFFFFF" 
flashvars="file=../../trailers/<%= filme.getTrailer() %>&amp;showdigits=true&amp;autostart=true&amp;showfsbutton=false&amp;fsreturnpage=trailer.jsp?<%="id="+filme.getId()%>"
 id="mediaplayerfilme">  
  
  

  
</body>
</html>